# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年12月21日
"""
import numpy as np

n1 = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]])
n2 = np.array([10, 10, 10])

print('两个数组相加:\n', np.add(n1, n2))
print('两个数组相减:\n', np.subtract(n1, n2))
print('两个数组相乘:\n', np.multiply(n1, n2))
print('两个数组相除:\n', np.divide(n1, n2))
